package com.lagou.pojo;

import lombok.Data;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author tengfei wang
 * @version 1.0
 * @date Created in 2020/8/31
 */
@Data
@ToString
@Table(name = "account")
public class Account {

    @Id
    @Column(name = "card_id")
    private String cardId;

    @Column(name = "account_name")
    private String accountName;

    @Column(name = "money")
    private Integer money;
}
